package cn.itsource;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 用户服务主配置类
 * @EnableDiscoveryClient :开启服务发现 (开启注册中心的客户端功能)
 * @EnableEurekaClient : 开启Eureka client客户端(只是针对Eureka有用)
 */
//@EnableDiscoveryClient
//@EnableEurekaClient
@SpringBootApplication
public class UserServerApplication1000
{
    public static void main( String[] args )
    {
        SpringApplication.run(UserServerApplication1000.class);
    }
}
